package com.chapter.sample.factory;

import com.chapter.sample.dao.UserDao;
import com.chapter.sample.dao.impl.UserDaoImpl;

public class MyBeanFactory1 {

    public static UserDao userDao(String name, int age) {
        System.out.println("MyBeanFactory1.userDao name:" + name + "age:" + age);
        return new UserDaoImpl();
    }
}
